﻿/* ===================================
   ENTERPRISE DASHBOARD STYLES
   Theme: Slate & Navy (Professional)
   =================================== */

::-webkit-scrollbar {
    display: none;
}

:root {
    /* Brand Colors - Slate/Navy Palette */
    --primary-color: #0f172a;
    /* Slate 900 */
    --primary-light: #334155;
    /* Slate 700 */
    --accent-color: #6366f1 /*#3b82f6*/;
    /* Blue 500 - Brighter */
    --accent-hover: #4f46e5 /*#2563eb*/;
    /* Blue 600 */
    /* Status Colors */
    --success-color: #059669;
    /* Emerald 600 */
    --warning-color: #d97706;
    /* Amber 600 */
    --danger-color: #dc2626;
    /* Red 600 */
    --info-color: #0891b2;
    /* Cyan 600 */
    /* Neutral Colors */
    --bg-body: #F8FAFC;
    /* Slate 100 */
    --bg-surface: #ffffff;
    --text-main: #1e293b;
    /* Slate 800 */
    --text-muted: #64748b;
    /* Slate 500 */
    --border-color: #e2e8f0;
    /* Slate 200 */
    /* Spacing & Layout */
    --border-radius: 8px;
    /* More subtle radius */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.2s ease-in-out;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.body-content {
    width: 100%; /* desktop container */
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 768px) {
    .body-content {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 1200px) {
    .body-content {
        padding-left: 32px;
        padding-right: 32px;
    }
}



/* Modern breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    background: transparent;
    padding: 6px 12px;
    border-radius: 8px;
    background-color: #f9fafb;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #9ca3af;
    font-size: 16px;
    padding: 0 6px;
}

.breadcrumb-item a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

    .breadcrumb-item a:hover {
        color: #4338ca;
        text-decoration: underline;
    }

.breadcrumb-item.active {
    color: #6b7280;
    font-weight: 500;
}



/* Minimal action container */
.website-actions {
    display: flex;
    gap: 10px;
}

    /* Base button style */
    .website-actions a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 6px 14px;
        font-size: 13px;
        font-weight: 500;
        border-radius: 999px;
        text-decoration: none;
        color: #374151;
        background-color: #f3f4f6;
        border: 1px solid #e5e7eb;
        transition: background-color 0.15s ease, border-color 0.15s ease;
    }

        /* Hover */
        .website-actions a:hover {
            background-color: #e5e7eb;
            border-color: #d1d5db;
        }

        /* Active / current */
        .website-actions a:active {
            background-color: #e5e7eb;
        }


/* Card Styling - Clean & Professional */
.card {
    background: var(--bg-surface);
    /*border: 1px solid var(--border-color);*/
    /* Stats Cards (Custom) */
    /*border-radius: 8px;*/
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.card-header {
    border-bottom: 1px solid #f1f5f9 !important;
}

    .card-header h5 {
        letter-spacing: -0.02em;
    }

/* Websites list scroll area */
.websites-scroll {
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #c7d2fe transparent; /* Firefox */
}

    /* Chrome / Edge / Safari */
    .websites-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .websites-scroll::-webkit-scrollbar-track {
        background: transparent;
    }

    .websites-scroll::-webkit-scrollbar-thumb {
        background: #c7d2fe;
        border-radius: 10px;
    }


.card-footer input {
    border-radius: 12px 0 0 12px;
    border-color: #e5e7eb;
}

.card-footer button {
    /*    border-radius: 0 12px 12px 0;*/
    /*    background: linear-gradient(135deg, #6366f1, #4f46e5);*/
    border: 1px solid #a7a7a7;
}

    .card-footer button:hover {
        box-shadow: 0 10px 24px rgba(79, 70, 229, 0.35);
    }

.card-header.bg-primary {
    background: linear-gradient(135deg, #0f172a, #1e1b4b) !important;
    border-radius: 16px 16px 0 0;
    padding: 24px 28px;
}

.card.border-info {
    border: 1px solid #bae6fd !important;
    background: #f0f9ff;
}

    .card.border-info h6 {
        font-weight: 700;
    }




/*{
    display: flex;
    flex-direction: column;
    height: 100%;
    border-left: 4px solid transparent;
}*/

.stats-card.primary {
    border-left-color: var(--accent-color);
}

.stats-card.warning {
    border-left-color: var(--warning-color);
}

.stats-card.success {
    border-left-color: var(--success-color);
}

.stats-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.stats-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    /* Blue Numbers */
    line-height: 1;
}

.stats-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .stats-icon-wrapper i {
        margin-right: 0;
    }

.website-icon-wrapper i {
    margin-right: 0;
}

.website-icon-wrapper {
    background: linear-gradient(135deg, #e0e7ff, #f5f3ff);
}

    .website-icon-wrapper i {
        color: #4f46e5;
    }


.bg-blue-light {
    background-color: #eff6ff;
}

.bg-amber-light {
    background-color: #fffbeb;
}

.bg-emerald-light {
    background-color: #ecfdf5;
}

/* Buttons - Matte & Solid */
.btn {
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    transition: var(--transition);
    box-shadow: none !important;
    /* Remove heavy shadows */
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

    .btn-primary:hover {
        background-color: var(--accent-hover);
        border-color: var(--accent-hover);
        transform: translateY(-1px);
    }

.btn-outline-primary {
    color: var(--accent-color);
    border-color: var(--accent-color);
    border-radius: 999px;
    font-weight: 500;
    padding: 4px 12px;
}

    .btn-outline-primary:hover {
        background-color: var(--accent-color);
        color: white;
    }

.btn-outline-danger {
    color: #ef4444; /* modern soft red */
    border-color: #ef4444;
}

.btn-outline-danger {
    color: #ef4444;
    border-color: #ef4444;
}

.btn-group .btn {
    border-radius: 4px !important;
    font-weight: 600;
    margin-right: 5px;
}

.btn-outline-primary:hover {
    background: #2563eb;
    color: #fff;
}

.btn-outline-secondary:hover {
    background: #475569;
    color: #fff;
}

.btn-outline-success:hover {
    background: #16a34a;
    color: #fff;
}

.btn-outline-warning:hover {
    background: #f59e0b;
    color: #fff;
}

.btn-outline-danger:hover {
    background: #dc2626;
    color: #fff;
}


/* Social Buttons - Refined */
.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: none;
    color: white;
}

.btn-social {
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-facebook {
    /*background-color: #1877f2;*/
    background: linear-gradient(135deg, #1877f2, #2563eb);
    color: #fff;
}

    .btn-facebook:hover {
        /*background-color: #166fe5;*/
        background: linear-gradient(135deg, #2563eb, #1e40af);
        box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
        color: #fff;
    }

.btn-instagram {
    background: linear-gradient( 135deg, #6366f1, /* indigo */
    #ec4899, /* pink */
    #f43f5e /* rose */
    );
    color: #fff;
}

    .btn-instagram:hover {
        background: linear-gradient( 135deg, #4f46e5, /* indigo */
        #db2777, /* pink */
        #e11d48 /* rose */
        );
        box-shadow: 0 8px 28px rgba(236, 72, 153, 0.35);
        color: #fff;
    }

.btn-linkedin {
    background: linear-gradient(135deg, #0a66c2, #1d4ed8);
    color: #fff;
}

    .btn-linkedin:hover {
        background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
        box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35);
        color: #fff;
    }

/* Tables - Clean Data Display */
.table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0 12px;
}

    .table thead th {
        background-color: #f8fafc;
        border-bottom: 2px solid var(--border-color);
        color: var(--text-muted);
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 0.06em;
        padding: 1rem;
    }

    .table td {
        padding: 1rem;
        vertical-align: middle;
        color: var(--text-main);
        border-top: 1px solid var(--border-color);
    }

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8fafc;
}

.table-hover tbody tr:hover {
    background-color: #f1f5f9;
}

.list-group-item:last-child {
    border-bottom: none;
}


/* Badges - Subtle Style */
.badge {
    padding: 0.6em 0.7em;
    font-weight: 600;
    border-radius: 9999px;
    font-size: 0.75rem;
}

.badge-success {
    background: #e8f9ef;
    color: #16a34a;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
}

.badge-warning {
    background: #fff7ed;
    color: #ea580c;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
}

.badge-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.badge-info {
    background-color: #cffafe;
    color: #155e75;
}

.badge-secondary {
    background-color: #e2e8f0;
    color: #475569;
}

/* Forms */
.form-control {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem;
    color: var(--text-main);
}

    .form-control:focus {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

/* Utilities */
.text-muted {
    color: var(--text-muted) !important;
}

.bg-light {
    background-color: #f8fafc !important;
}

/* Icons */
.fas,
.fab,
.far {
    margin-right: 0.5rem;
}

/* Empty State */
.empty-state-icon {
    font-size: 2.5rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

/* Add Website Button - Professional */
.btn-add-website {
    background-color: var(--bg-surface);
    border: 2px dashed var(--border-color);
    color: var(--text-muted);
    width: 100%;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

    .btn-add-website:hover {
        border-color: var(--accent-color);
        color: var(--accent-color);
        background-color: #eff6ff;
    }

/* ===================================
   HEADER & NAVIGATION STYLES
   =================================== */

.navbar {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    /* Modern Royal Blue Gradient - Forced */
    padding: 0.75rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: white !important;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 600;
    padding: 0.6rem 1.2rem !important;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-item.active .nav-link {
        color: white !important;
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateY(-1px);
    }

.navbar-toggler {
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
}

/* User Profile Section in Nav */
.user-profile-link {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    transition: all 0.2s ease;
}

    .user-profile-link:hover,
    .user-profile-link[aria-expanded="true"] {
        background: rgba(255, 255, 255, 0.2);
        color: white !important;
    }

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-header {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.dropdown-item {
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    color: var(--text-main);
    transition: all 0.15s ease;
}

    .dropdown-item:hover {
        background-color: #f1f5f9;
        color: var(--accent-color);
    }



.list-group-item:last-child {
    border-bottom: none;
}

.list-group-item {
    transition: background 0.2s ease, transform 0.15s ease;
    cursor: pointer;
}

    .list-group-item:hover {
        background: #f8fafc;
        transform: translateY(-1px);
    }

    .list-group-item h6 {
        font-size: 0.95rem;
        font-weight: 600;
    }


.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

    .loader-overlay.active {
        display: flex;
    }

.loader-content {
    width: 420px;
    max-width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Gradient Spinner */
.gradient-spinner {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient( from 0deg, #2563eb 0deg, #3b82f6 90deg, #1b1a6f 180deg, #4f46e5 270deg, #2563eb 360deg );
    animation: gradient-spin 1.5s linear infinite;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gradient-spinner::before {
        content: '';
        position: absolute;
        width: 40px;
        height: 40px;
        background: white;
        border-radius: 50%;
    }

    .gradient-spinner::after {
        content: '';
        position: absolute;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        /*        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    }

@keyframes gradient-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
}

.loader-url {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    font-family: 'Courier New', monospace;
    background: #f3f4f6;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.loader-subtext {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #9ca3af;
}

.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .success-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.success-checkmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 80px;
    height: 80px;
}

    .success-checkmark .circle {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 4px solid #10b981;
    }

    .success-checkmark .check {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 32px;
        height: 32px;
    }

        .success-checkmark .check::before, .success-checkmark .check::after {
            content: '';
            position: absolute;
            background: #10b981;
        }

        .success-checkmark .check::before {
            width: 5px;
            height: 18px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -40%) rotate(45deg);
        }

        .success-checkmark .check::after {
            width: 5px;
            height: 9px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -80%) rotate(45deg);
            transform-origin: left center;
        }

.success-overlay.animate .success-checkmark .circle {
    animation: success-circle 0.6s ease-out;
}

.success-overlay.animate .success-checkmark .check {
    animation: success-check 0.4s ease-out 0.3s both;
}

@keyframes success-circle {
    0% {
        border-color: #e9ecef;
        transform: scale(1);
    }

    50% {
        border-color: #10b981;
        transform: scale(1.1);
    }

    100% {
        border-color: #10b981;
        transform: scale(1);
    }
}

@keyframes success-check {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.success-overlay .success-text {
    margin-top: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #10b981;
}


/* Badges - Subtle Style */
.badge {
    padding: 0.6em 0.7em;
    font-weight: 600;
    border-radius: 9999px;
    font-size: 0.75rem;
}

.badge-success {
    background-color: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.badge-info {
    background-color: #cffafe;
    color: #155e75;
}

.badge-secondary {
    background-color: #e2e8f0;
    color: #475569;
}

/* Forms */
.form-control {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem;
    color: var(--text-main);
}

    .form-control:focus {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

/* Utilities */
.text-muted {
    color: var(--text-muted) !important;
}

.bg-light {
    background-color: #f8fafc !important;
}

/* Icons */
.fas,
.fab,
.far {
    margin-right: 0.5rem;
}

/* Empty State */
.empty-state-icon {
    font-size: 2.5rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

/* Add Website Button - Professional */
.btn-add-website {
    background-color: var(--bg-surface);
    border: 2px dashed var(--border-color);
    color: var(--text-muted);
    width: 100%;
    padding: 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

    .btn-add-website:hover {
        border-color: var(--accent-color);
        color: var(--accent-color);
        background-color: #eff6ff;
    }

/* ===================================
   HEADER & NAVIGATION STYLES
   =================================== */

.custom-navbar .container-fluid {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* Tablet */
@media (min-width: 768px) {
    .custom-navbar .container-fluid {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .custom-navbar .container-fluid {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* Ultra-wide screens */
@media (min-width: 1600px) {
    .custom-navbar .container-fluid {
        width: 100%;
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Mobile navbar spacing fix */
@media (max-width: 575.98px) {
    .navbar {
        padding: 0.9rem 0;
    }

    .navbar-brand {
        font-size: 1rem;
        line-height: 1.2;
    }

    .navbar-toggler {
        padding: 6px 10px;
    }
}

/* ===== MOBILE NAVBAR FIX ===== */
@media (max-width: 1199.98px) {

    .custom-navbar {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

        .custom-navbar .navbar-brand {
            font-size: 1.3rem;
            display: flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
        }

        .custom-navbar .navbar-toggler {
            padding: 6px 10px;
            border: none;
            outline: none;
        }

        .custom-navbar .navbar-collapse {
            margin-top: 0.75rem;
        }

        .custom-navbar .navbar-nav {
            align-items: flex-start;
        }
}


.navbar {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%) !important;
    backdrop-filter: blur(8px);
    padding: 0.95rem 0;
    box-shadow: none;
    /*background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;*/
    /* Modern Royal Blue Gradient - Forced */
    /*padding: 0.75rem 0;*/
    /*    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);*/
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.25rem;
    color: white !important;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-nav .nav-link {
    /*color: rgba(255, 255, 255, 0.9) !important;*/
    color: #e5e7eb !important;
    font-weight: 600;
    padding: 0.6rem 1.2rem !important;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    margin-right: 8px;
}

    .navbar-nav .nav-link:hover {
        color: #ffffff;
    }

.navbar-nav .nav-item.active .nav-link {
    /*color: white !important;*/
    color: #a5b4fc !important;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-toggler {
    /* border: none;*/
    border: rgba(255, 255, 255, 0.25);
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
        margin-top: 12px;
        padding: 12px 2px;
        border-radius: 14px;
    }
}

@media (max-width: 1199.98px) {
    .navbar-nav {
        align-items: flex-start !important;
    }

        .navbar-nav .nav-item {
            width: 100%;
            margin-top: 6px;
        }

        .navbar-nav .nav-link {
            padding: 10px 0;
            width: 100%;
        }
}

@media (max-width: 1199.98px) {
    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 8px;
        border-radius: 12px;
    }
}

@media (max-width: 1199.98px) {
    .user-profile-link {
        padding-top: 12px;
        padding-bottom: 12px;
    }

        .user-profile-link span {
            display: inline !important;
        }
}


/* User Profile Section in Nav */
.user-profile-link {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    transition: all 0.2s ease;
}

    .user-profile-link:hover,
    .user-profile-link[aria-expanded="true"] {
        background: rgba(255, 255, 255, 0.2);
        color: white !important;
    }

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-header {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.dropdown-item {
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    color: var(--text-main);
    transition: all 0.15s ease;
}

    .dropdown-item:hover {
        background-color: #f1f5f9;
        color: var(--accent-color);
    }

    .dropdown-item.text-danger:hover {
        background-color: #fef2f2;
        color: var(--danger-color);
    }

/* Footer */
.footer {
    background: #1e293b;
    color: #94a3b8;
    padding: 3rem 0;
    margin-top: auto;
    border-top: 1px solid #334155;
}

/* Platform Selector Cards */
.platform-selector {
    cursor: pointer;
    position: relative;
    display: block;
}

    .platform-selector input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

.selector-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
    height: 100%;
}

.platform-selector:hover .selector-content {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.platform-selector input:checked + .selector-content {
    border-color: var(--accent-color);
    background-color: #eff6ff;
    box-shadow: 0 0 0 1px var(--accent-color);
}

    .platform-selector input:checked + .selector-content i {
        transform: scale(1.1);
        transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

/* Post Preview Card */
.post-preview-card {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.image-variation-container {
    transition: all 0.2s ease;
    border-radius: 8px;
    overflow: hidden;
}

    .image-variation-container:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }

    .image-variation-container.has-selected {
        box-shadow: 0 0 0 3px var(--success-color);
    }

.variation-item.selected {
    border: 2px solid var(--success-color) !important;
}

/* Custom File Input */
.custom-file-label {
    border-radius: 6px;
    border-color: var(--border-color);
}

    .custom-file-label::after {
        background-color: #f8fafc;
        border-radius: 0 6px 6px 0;
    }
